package com.platform.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 订单评论表实体
 * 表名 nideshop_order_comment
 *
 * @author czj
 * @email 729618941@qq.com
 * @date 2018-11-22 10:46:10
 */
public class OrderCommentVo implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Integer id;
    //订单id
    private Integer orderId;
    //商品id
    private Integer goodId;
    //商品名称
    private String goodName;
    //产品id
    private Integer productId;
    //产品名称
    private String productName;
    //评论内容
    private String content;
    //状态：1-显示；0-隐藏
    private Integer status;
    //用户id
    private Integer userId;
    //添加时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;
    //是否匿名：1-是；0-否
    private Integer isAnonymous;
    //星级评分
    private Integer star;
    //图片列表
    private List<OrderCommentPictureVo> imagesList;

    //用户信息
    private UserVo userInfo;

    public UserVo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserVo userInfo) {
        this.userInfo = userInfo;
    }

    public List<OrderCommentPictureVo> getImagesList() {
        return imagesList;
    }

    public void setImagesList(List<OrderCommentPictureVo> imagesList) {
        this.imagesList = imagesList;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public Integer getIsAnonymous() {
        return isAnonymous;
    }

    public void setIsAnonymous(Integer isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：订单id
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取：订单id
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 设置：商品id
     */
    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    /**
     * 获取：商品id
     */
    public Integer getGoodId() {
        return goodId;
    }

    /**
     * 设置：商品名称
     */
    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    /**
     * 获取：商品名称
     */
    public String getGoodName() {
        return goodName;
    }

    /**
     * 设置：产品id
     */
    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    /**
     * 获取：产品id
     */
    public Integer getProductId() {
        return productId;
    }

    /**
     * 设置：产品名称
     */
    public void setProductName(String productName) {
        this.productName = productName;
    }

    /**
     * 获取：产品名称
     */
    public String getProductName() {
        return productName;
    }

    /**
     * 设置：评论内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取：评论内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置：状态：1-显示；0-隐藏
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取：状态：1-显示；0-隐藏
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置：用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取：用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置：添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取：添加时间
     */
    public Date getAddTime() {
        return addTime;
    }
}
